<template>
    <el-menu
            :default-active="navActive"
            router
    >
        <el-menu-item index="/Doctor/Patient">
            <el-icon><i class="fas fa-head-side-mask" /> </el-icon>
            病患管理
        </el-menu-item>
        <el-menu-item index="/Doctor/Prescription">
            <el-icon><i class="fas fa-book-medical" /> </el-icon>
            诊断处方管理
        </el-menu-item>
        <el-menu-item index="/Doctor/Warehouse">
            <el-icon><i class="fas fa-band-aid" /> </el-icon>
            药品仓库管理
        </el-menu-item>
    </el-menu>
</template>

<script>
    export default {
        name: "DoctorSidebar",
        data(){
            return{
                navActive:this.$route.path
            }
        }
    }
</script>

<style scoped>

</style>